package org.niu.str;

public class Reverse {
    public String solve (String str) {
        // write code here
        StringBuilder s = new StringBuilder(str);
        return s.reverse().toString();
    }
}
